package org.nf.shopping.mapper;

import org.apache.ibatis.annotations.Param;
import org.nf.shopping.entity.Brand;


import java.util.List;

/**
 * @Author czl
 * @Date 2024-12-12
 */
public interface BrandMapper {
    List<Brand> listBrand(@Param("pageSize") Integer pageSize, @Param("pageNum") Integer pageNum, @Param("name") String name);

    void updateBrand(Brand brand);

    void deloneBrand(Integer id);

    void addBrand(Brand brand);

    List<Brand> getBrandList();
}
